package com.dotndot.controller.Server;

import com.dotndot.controller.network.define.INetworkError.ERROR;
import com.dotndot.controller.network.define.INetworkAPI.REQUEST;

public class ReceiveServerParam implements IReceiveServer
{
    private ERROR error;
    private REQUEST api;
    private Object data;

    @Override
    public void setERR( ERROR error )
    {
        this.error = error;
    }

    @Override
    public ERROR getERR()
    {
        return this.error;
    }

    @Override
    public void setAPI( REQUEST api )
    {
        this.api = api;
    }

    @Override
    public REQUEST getAPI()
    {
        return this.api;
    }

    @Override
    public void setDATA( Object data )
    {
        this.data = data;
    }

    @Override
    public Object getData()
    {
        return this.data;
    }
}
